<template>
  <div>
    <div class="page">
      我是分类
      <router-link to="/category/goods-list">进入商品列表页面</router-link>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
import axios from "axios";
export default {
  created() {
    axios
      .get(
        "/item/cateList.json?csrf_token=5428ab039b924661edcbd1722d700699&__timestamp=1682949736204&categoryId=109342010"
      )

      .then((res) => {
        // 侧边栏数据
        console.log(res.data);
        let data = res.data.data;
        console.log(data.categoryL1List);

        // 分类列表数据
        console.log(data.categoryGroupList);
      });
  },
};
</script>

<style>
</style>